package com.yuyou.fn.tms.vo;

import com.yuyou.fn.educational.entity.Teacher;
import io.swagger.annotations.ApiModelProperty;

/**
 * Created by lzh on 2019/2/25.
 */
public class TmsTeacherDetail {
    @ApiModelProperty("教师ID")
    private Long teaId ;//教师ID

    @ApiModelProperty("身份证号")
    private String idCardNo ;//身份证号

    @ApiModelProperty("老师格言,对应誉优signature")
    private String motto ;//老师格言,对应誉优signature

    @ApiModelProperty("教学风格&学生评价,对应tags")
    private String teachStyle ;//教学风格&学生评价,对应tags

    @ApiModelProperty("教学经验，对应誉优simple_intro")
    private String teachingExperience ;//教学经验，对应誉优simple_intro

    @ApiModelProperty("头像地址，对应誉优avatar_url")
    private String portraitURL ;//头像地址，对应誉优avatar_url

    @ApiModelProperty("教学成果,预留地段，当前为空")
    private String teachingAchievements ;//教学成果,预留地段，当前为空

    @ApiModelProperty("课堂花絮（图片地址）,预留地段，当前为空")
    private String classTidbits ;//课堂花絮（图片地址）,预留地段，当前为空

    @ApiModelProperty("星级评定,预留地段，当前为空")
    private Double rating ;//星级评定,预留地段，当前为空

    public TmsTeacherDetail(Teacher teacher){
        this.setTeaId(teacher.getTeacherId());//教师ID
        this.setIdCardNo(teacher.getIdNo());//身份证号
        this.setMotto(teacher.getSignature());//老师格言,对应誉优signature
        this.setTeachStyle(teacher.getTags());//教学风格&学生评价,对应tags
        this.setTeachingExperience(teacher.getSimpleIntro());//教学经验，对应誉优simple_intro
        this.setPortraitURL(teacher.getAvatarUrl());//头像地址，对应誉优avatar_url
        this.setTeachingAchievements(null);//教学成果,预留地段，当前为空
        this.setClassTidbits(null);//课堂花絮（图片地址）,预留地段，当前为空
        this.setRating(null);//星级评定,预留地段，当前为空
    }

    public Long getTeaId() {
        return teaId;
    }

    public void setTeaId(Long teaId) {
        this.teaId = teaId;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public String getMotto() {
        return motto;
    }

    public void setMotto(String motto) {
        this.motto = motto;
    }

    public String getTeachStyle() {
        return teachStyle;
    }

    public void setTeachStyle(String teachStyle) {
        this.teachStyle = teachStyle;
    }

    public String getTeachingExperience() {
        return teachingExperience;
    }

    public void setTeachingExperience(String teachingExperience) {
        this.teachingExperience = teachingExperience;
    }

    public String getPortraitURL() {
        return portraitURL;
    }

    public void setPortraitURL(String portraitURL) {
        this.portraitURL = portraitURL;
    }

    public String getTeachingAchievements() {
        return teachingAchievements;
    }

    public void setTeachingAchievements(String teachingAchievements) {
        this.teachingAchievements = teachingAchievements;
    }

    public String getClassTidbits() {
        return classTidbits;
    }

    public void setClassTidbits(String classTidbits) {
        this.classTidbits = classTidbits;
    }

    public Double getRating() {
        return rating;
    }

    public void setRating(Double rating) {
        this.rating = rating;
    }
}
